<%= search_form_for q, url: project_issue_labels_path(project_id: current_project.id), class: "" do |f| %>
  <div class="flex flex-col md:flex-row justify-start items-stretch gap-4">
    <div class="flex gap-2 grow lg:w-70 items-center">
      <%= f.label :title_cont, class: "label fieldset-legend text-sm" %>
      <%= f.search_field :title_cont, class: 'input input-sm w-full' %>
    </div>

    <div class="flex items-center gap-2">
      <%= link_to project_issue_labels_path(current_project), class: "btn btn-sm btn-ghost" do %>
        <%= t('actions.clear_filter').capitalize %>
      <% end %>
      <%= f.button class: "btn btn-sm btn-primary btn-soft" do %>
        <i class="ti ti-search"></i>
        <%= t(:search, scope: :actions) %>
      <% end %>
    </div>
  </div>
<% end %>